/**
 * @author wzby
 * @Date: 2022/8/11 19:59
 */
public class UserDemo {
    public static void main(String[] args) {
        //因为User类添加了@Builder注解
        User user = User.builder().score(50).id(1).name("通碧").build();
        System.out.println(user);

        User us = new User(2,"断魄",50);
        System.out.println(us);

        User trh = new User();
        trh.setId(1);
        trh.setName("坠明");
        trh.setScore(50);
        System.out.println(trh);
    }
}
